]> dgit.raspbian.org Git - gnome-shell.git/commit
windowPreview: Tie icon scale to overview state
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 4 Feb 2021 20:14:42 +0000 (21:14 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 12 Feb 2021 19:48:43 +0000 (19:48 +0000)
commit2beca14b8d4b4aaf7a656b5cab332986dae304ba
tree76ead47e6408b63d669b8bcae418d8c7cbc6705c
parent74575ee330fd23c4921b05420d657f5450f9bbc5
windowPreview: Tie icon scale to overview state

Scaling the icons all the way from/to 0 is a relatively big transition,
which is fairly distracting when playing simultaneously for multiple
previews after reaching the WINDOW_PICKER state.

Instead, tie the scale to the overview state itself, so that the animations
runs in parallel.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1654>
js/ui/windowPreview.js
js/ui/workspace.js